* {
  margin: 0;
  padding: 0;
  user-select: none;
}

body {
  padding: 20px;
  overflow-x: hidden;
}

.box {
  transform-origin: 0 0 0;
  cursor: none;
  position: relative;
  display: inline-block;
  font-size: 0;
  border-radius: 8px;
}

.box .mask {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: transparent;
}

.box .svgBox {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0;
  display: inline-block;
  z-index: 10;
}

.box .svgBox > svg {
  width: 20px;
  height: 20px;
}

canvas {
  background-color: antiquewhite;
}

canvas .brush {
  position: absolute;
}

.pack {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #aeb3b9;
  font-size: 0;
}

.pack .btn {
  flex: 1;
  cursor: pointer;
  display: inline-block;
  height: 30px;
  font-size: 16px;
  line-height: 30px;
  background-color: #00aeec;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
}

.pack .btn:first-child {
  border-right: 1px solid #aeb3b9;
}
